package org.crazyit.activiti_d1._4_CreateStandaloneInMem;

import org.activiti.engine.ProcessEngineConfiguration;

public class CreateStandaloneInMem_1 {

    public static void main(String[] args) {

        //1. 获取依赖内存数据库的流程引擎实例
        ProcessEngineConfiguration config = ProcessEngineConfiguration.createStandaloneInMemProcessEngineConfiguration();
        config.setJdbcPassword("abc");

        //2. 打印流程引擎实例的值
        //DatabaseSchemaUpdate 属性值为create-drop
        System.out.println(config.getDatabaseSchemaUpdate());
        //jdbcUrl 属性值为jdbc:h2:mem:activiti_d1
        System.out.println(config.getJdbcUrl());
        System.out.println(config.getJdbcPassword());
        System.out.println(config.getJdbcDriver());

    }

}
